<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="ReadMe_files/filelist.xml">
<link rel=Edit-Time-Data href="ReadMe_files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Spy</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>a-margam</o:Author>
  <o:LastAuthor>a-margam</o:LastAuthor>
  <o:Revision>5</o:Revision>
  <o:TotalTime>232</o:TotalTime>
  <o:Created>2005-07-07T15:01:00Z</o:Created>
  <o:LastSaved>2005-07-07T19:03:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>474</o:Words>
  <o:Characters>2706</o:Characters>
  <o:Company>Microsoft Corporation</o:Company>
  <o:Lines>22</o:Lines>
  <o:Paragraphs>6</o:Paragraphs>
  <o:CharactersWithSpaces>3174</o:CharactersWithSpaces>
  <o:Version>10.6735</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<link rel=Stylesheet type="text/css" media=all href="../../docs/Styles.css">
<style>
<!--a:visited
	{color: 336666;}
A:hover {background:Olive; color: White}

 /* Font Definitions */
 @font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
h1
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:0in;
	text-align:center;
	mso-pagination:widow-orphan;
	mso-outline-level:1;
	font-size:36.0pt;
	font-weight:bold;}
h2
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:2;
	font-size:24.0pt;
	font-weight:bold;}
h3
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:3;
	font-size:18.0pt;
	font-weight:bold;
	font-style:italic;}
h4
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:4;
	font-size:12.0pt;
	font-weight:bold;}
h5
	{margin-top:12.0pt;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:5;
	font-size:10.0pt;
	font-weight:bold;
	font-style:italic;}
h6
	{margin-top:12.0pt;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:6;
	font-size:7.5pt;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-ansi-font-size:9.0pt;
	mso-bidi-font-size:9.0pt;
	mso-ascii-font-family:Verdana;
	mso-hansi-font-family:Verdana;
	color:olive;
	mso-text-animation:none;
	mso-hide:none;
	text-decoration:none;
	text-underline:none;
	text-decoration:none;
	text-line-through:none;}
p
	{font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
address
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-style:italic;}
code
	{mso-fareast-font-family:"Times New Roman";}
kbd
	{mso-fareast-font-family:"Times New Roman";}
pre
	{margin-top:0in;
	margin-bottom:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	mso-fareast-font-family:"Times New Roman";}
samp
	{mso-fareast-font-family:"Times New Roman";}
tt
	{mso-fareast-font-family:"Times New Roman";}
span.SpellE
	{mso-style-name:"";
	mso-spl-e:yes;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:197742366;
	mso-list-template-ids:279077866;}
@list l1
	{mso-list-id:790976691;
	mso-list-template-ids:1169059738;}
@list l2
	{mso-list-id:2139755930;
	mso-list-template-ids:-778932444;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=EN-US link=olive vlink=blue style='tab-interval:.5in'>

<div class=Section1>

<h2><span style='font-family:Verdana;color:black'>Spy<o:p></o:p></span></h2>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:9.0pt;font-family:Verdana;color:black'>

<hr size=2 width="100%" align=center>

</span></div>

<p><span style='font-size:9.0pt;font-family:Verdana;color:black'>The COM+
system event publisher publishes events using COM+ LCE services. The <span
class=SpellE>COMSpy</span> sample application provides an example of a program
which subscribes to these published events. <span class=SpellE>COMSpy</span>
shows what is going on inside a COM+ process by displaying and logging the
following event metrics:<o:p></o:p></span></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%;mso-cellspacing:1.5pt'>
 <tr style='mso-yfti-irow:0'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Application&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Activity<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:1'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Thread&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Transaction<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:2'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Method&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Object<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:3'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>ObjectConstruct</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Instance<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:4'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>ObjectPool</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Security<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:5'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Identity&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Queued Component<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:6'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>Exceptioin</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'>&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Resource<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:7'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>CRM&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>User<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:8;mso-yfti-lastrow:yes'>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Load Balancing&nbsp;&nbsp;&nbsp;<o:p></o:p></span></p>
  </td>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Event Store<o:p></o:p></span></p>
  </td>
 </tr>
</table>

<h4><span style='font-family:Verdana;color:black'>Project Files<o:p></o:p></span></h4>

<table class=MsoNormalTable border=0 cellpadding=0 width="75%"
 style='width:75.0%;mso-cellspacing:1.5pt' id=TABLE1>
 <tr style='mso-yfti-irow:0'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><strong><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Folder Name</span></strong><span style='font-size:9.0pt;
  font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><strong><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Description</span></strong><span style='font-size:9.0pt;
  font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:1'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>spy\<span class=SpellE>COMSpy</span><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Executable for <span class=SpellE>COMSpy</span><o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:2'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>spy\<span class=SpellE>COMSpyFace</span><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>A utility project for <span class=SpellE>COMSpy</span> interface
  files<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:3'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>spy\<span class=SpellE>COMSpyCtl</span><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>A control that shows how to subscribe to COM+ events<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:4;mso-yfti-lastrow:yes'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>spy\<span class=SpellE>COMSpyAudit</span><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p><span style='font-size:9.0pt;font-family:Verdana;color:black'>An in-proc
  COM component that shows an auditing mechanism for logging events to a SQL
  Server Database<o:p></o:p></span></p>
  </td>
 </tr>
</table>

<h4><span style='font-family:Verdana;color:black'>Auditing<o:p></o:p></span></h4>

<p><span style='font-size:9.0pt;font-family:Verdana;color:black'>To use the SQL
Server auditing feature, you must do the following before you run <span
class=SpellE>COMSpy</span>:<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l2 level1 lfo1;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>1.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Create a SQL Server
Database for <span class=SpellE>COMSpy</span> Auditing. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l2 level1 lfo1;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>2.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Run <span class=SpellE>ComSpyAudit.sql</span>
script under Spy\<span class=SpellE>ComSpyAudit</span> directory to create the
following tables in your SQL Server database. <o:p></o:p></span></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="75%"
 style='width:75.0%;mso-cellspacing:1.5pt;margin-left:1.0in'>
 <tr style='mso-yfti-irow:0'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><strong><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Table Name</span></strong><span style='font-size:9.0pt;
  font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><strong><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>Description</span></strong><span style='font-size:9.0pt;
  font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:1'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>AppEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Application Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:2'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>ActivityEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Activity Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:3'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>ThreadEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Thread Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:4'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>TransactionEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Transaction Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:5'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>MethodEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Method Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:6'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>ObjectEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Object, <span class=SpellE>ObjectConstruction</span> and
  Instance Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:7'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>ObjectPoolEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For <span class=SpellE>ObjectPool</span> Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:8'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>SecurityEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Security and Identity Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:9'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>QCEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Queued Components Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:10'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>ExceptioinEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For <span class=SpellE>Exceptioin</span> Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:11'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>ResourceEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Resource Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:12'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>CRMEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For CRM Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
 <tr style='mso-yfti-irow:13;mso-yfti-lastrow:yes'>
  <td width="26%" style='width:26.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span class=SpellE><span style='font-size:9.0pt;
  font-family:Verdana;color:black'>LBEvents</span></span><span
  style='font-size:9.0pt;font-family:Verdana;color:black'><o:p></o:p></span></p>
  </td>
  <td width="74%" style='width:74.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><span style='font-size:9.0pt;font-family:Verdana;
  color:black'>For Load Balancing Event Metrics<o:p></o:p></span></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l2 level1 lfo1;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>3.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Create an ODBC DSN
named &quot;<span class=SpellE>ComSpyAudit</span>&quot; that connects to your
SQL Server database. <o:p></o:p></span></p>

<h4><span style='font-family:Verdana;color:black'>Build Notes<o:p></o:p></span></h4>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>1.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Set the
[MSSDK]\include, [MSSDK]\lib in the header files and library files paths in
your IDE environment. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>2.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Load Spy project
workspace by using spy\<span class=SpellE>spy.sln</span> (requires VS 8.0). <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>3.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Build <span
class=SpellE>COMSpyFace</span> project first in order to generate the correct
header files for the rest of the spy projects. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l0 level1 lfo2;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>4.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Set the active project
to <span class=SpellE>COMSpy</span> and then build all. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Note:<span
style='mso-spacerun:yes'>&nbsp;&nbsp; </span>This sample uses ATL/MFC.<span
style='mso-spacerun:yes'>&nbsp; </span>Make sure Visual Studio 8.0 is installed
on your machine and the include path has references to the <span class=SpellE>atlmfc</span>
headers location.<o:p></o:p></span></p>

<h4><span style='font-family:Verdana;color:black'>To run Spy <o:p></o:p></span></h4>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>1.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Run COMSpy.exe. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>2.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>If you would like to
log events to a file, choose Log to File from the Options menu and specify the
name of a log file. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>3.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>If you would like to
log events to a SQL Server database, right click on the spy window to bring up
the pop-up menu and choose Audit to db from the Options submenu. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>4.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Choose Select Events
from the <span class=SpellE>COMSpy</span> menu or pop-up menu. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>5.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Select an Application
or a Process that you would like to monitor from the Select Application or
Process list box. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>6.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Select events from the
Select Application or Process Events list box for the Application or Process
selected in step 5. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>7.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Repeat step 5 and 6 for
the Applications or Processes that you would like to monitor. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>8.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Select events from the
Select System Events list box if you would like to monitor the system events. <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
margin-left:1.0in;text-indent:-.25in;mso-list:l1 level1 lfo3;tab-stops:list .5in'><![if !supportLists]><span
style='font-size:9.0pt;font-family:Verdana;mso-fareast-font-family:Verdana;
mso-bidi-font-family:Verdana;color:black'><span style='mso-list:Ignore'>9.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:9.0pt;font-family:Verdana;color:black'>Click OK. <span
class=SpellE>COMSpy</span> will display events as they are received. <o:p></o:p></span></p>

</div>

</body>

</html>
